package com.zwps.biz.domain.converter;

import com.zwps.biz.api.model.vo.log.api.SelectLogApiVO;
import com.zwps.biz.dal.db.object.LogApiDO;
import com.zwps.extra.http.LogAPIMessage;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface LogApiConverter {

    LogApiConverter INSTANCE = Mappers.getMapper(LogApiConverter.class);

    SelectLogApiVO toLogApiVO(LogApiDO operateLogApiDO);

    LogApiDO toLogApiDO(LogAPIMessage message);

}
